Use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE
authorColin Walters <walters@verbum.org>
Wed, 10 Jul 2013 17:24:15 +0000 (13:24 -0400)
committerColin Walters <walters@verbum.org>
Wed, 10 Jul 2013 17:25:35 +0000 (13:25 -0400)
commit124416d8328866ab54cb8332b56f50993c0f96cf
tree25f39ada59638298499fe8c6316602eb8104e135
parent8cb348315eff81456b1e0b70c554558b4128df06
Use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE

It's less copy/paste, works everywhere, etc.

Also fix some missing #include "config.h".
configure.ac
src/libostree/ostree-core.c
src/libostree/ostree-diff.c
src/libostree/ostree-repo-traverse.c
src/libotutil/ot-unix-utils.c
src/ostree/ot-admin-cleanup.c
src/ostree/ot-admin-functions.c
src/ostree/ot-admin-util.c
src/switchroot/ostree-mount-util.c
src/switchroot/ostree-prepare-root.c
src/switchroot/ostree-remount.c